import request from '../utils/request1'

export function getfaultCount(param) {
  return request({
    url: '/cv/maintenanceState/faultCount',
    method: 'post',
    data: {
      valvehallId: param.valvehallId,
      faulttypeId: param.faulttypeId,
      time: param.time

    }
  })
}

export function getreportList(param) {
  return request({
    url: '/cv/maintenanceState/reportList',
    method: 'post',
    data: {
      pageCurrent: param.pageCurrent,
      pageSize: param.pageSize,
    }
  })
}

export function getreportContent(id) {
  return request({
    url: '/cv/maintenanceState/reportContent',
    method: 'post',
    data: {
      reportId: id,
    }
  })
}
